﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Text.RegularExpressions;

namespace NGourd.Core.Steps
{
    [AttributeUsage(AttributeTargets.Method, AllowMultiple = true)]
    public class StepAttribute : Attribute
    {
        public readonly Regex Regex;

        public StepAttribute(string regex)
        {
            Regex = new Regex(regex, RegexOptions.Compiled | RegexOptions.IgnoreCase);
        }
    }
}
